package com.luzhikun.ajax.service;

import com.luzhikun.ajax.dao.IUserDao;
import com.luzhikun.ajax.dao.UserDao;

/**
 * @Author Rookie Coder
 * @Description
 * @Date
 **/
public class IBmiServiceImp implements IBmiService{

    private IUserDao userDao;
    public IBmiServiceImp(){
        this.userDao=new UserDao();
    }

    @Override
    public double getBmiCount(double weight, double height) {
        return userDao.getBmiMath(weight,height);
    }
}
